package com.lagou.bean;

import java.io.Serializable;

public class Classe implements Serializable {

    private String cid;
    private int grade;
    private String headMaster;
    private String slogan;
    private int num;

    public Classe() {
    }

    public Classe(String cid, int grade, String headMaster, String slogan, int num) {
        this.cid = cid;
        this.grade = grade;
        this.headMaster = headMaster;
        this.slogan = slogan;
        this.num = num;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getHeadMaster() {
        return headMaster;
    }

    public void setHeadMaster(String headMaster) {
        this.headMaster = headMaster;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "Classe{" +
                "cid='" + cid + '\'' +
                ", grade=" + grade +
                ", headMaster='" + headMaster + '\'' +
                ", slogan='" + slogan + '\'' +
                ", num=" + num +
                '}';
    }
}
